package com.itheima.streamliu;

/**
 * @author zhangbaiyan
 * @date 2024-09-17 14:48
 * @description:
 * @version:
 */
public class Actor {
    private String name;
    private int age;

    public Actor(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Actor() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }


    public String toString() {
        return "Actor{name = " + name + ", age = " + age + "}";
    }
}
